import { createStore } from 'vuex'

export default createStore({
  state: {
    str: '我是第一个组件'
  },
  mutations: {
    cut(state){
      state.str = '我是第二个组件'
    }
  },
  actions: {
  },
  modules: {
  }
})
